package com.veryGood.mapper;

import com.veryGood.domain.pojo.PurchaseInfo;
import com.veryGood.domain.vo.SupplierInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PurMngMapper {
    int addPurchase(PurchaseInfo purchaseInfo);

    List<PurchaseInfo> findPurchase(@Param("offset") Integer offset, @Param("rows") Integer rows);

    Integer countPurchase();

    int delPurchaseById(Integer id);
}
